import React from 'react';
import { BrowserRouter as Router,NavLink } from 'react-router-dom';
import RouterView from './routes';
const App = () => {
  return (
    <Router>
      <NavLink to="/">HOME</NavLink>
      <NavLink to="/about">ABOUT</NavLink>
      <NavLink to='/context'>Context</NavLink>
      <NavLink to='/suspense'>suspense</NavLink>
      <RouterView></RouterView>
    </Router>
  );
}

export default App;



